simetrix.Simulation

class simetrix.Simulation

Bases: object

Object returned by methods that perform a simulation. Provides status information and any DataGroup objects created by the simulation run.

Methods

getGroupFromAnalysis(analysisType)

Get DataGroup associated with the specified analysis type.

Attributes

dataGroups

DataGroup objects providing access to data created by the simulation.

errorMessage

Error message on simulation failure.

primaryGroup

Primary data group created by simulation.

status

Simulation status.

property dataGroups: list[DataGroup]

DataGroup objects providing access to data created by the simulation.

property errorMessage: str

Error message on simulation failure.

getGroupFromAnalysis(analysisType: AnalysisType) DataGroup

Get DataGroup associated with the specified analysis type.

property primaryGroup: DataGroup

Primary data group created by simulation. For example, a SIMetrix AC analysis will usually create two groups, one for the AC analysis itself and another for the DC operating point data. The primaryGroup is the AC analysis data while the dataGroups property will return both the AC group and the DCOP group.

property status: RunStatus

Simulation status.